export type SiteVO = {
  id: number
  name: string
  sitePath: string
  siteVisitPath: string | undefined
  siteDomain: string
  siteAliasDomain: string
  status: number
  seoTitle: string
  seoKey: string
  seoDesc: string
  siteConfig: string
  parentId: number
  sort: number
}

export type SitePageReqVO = {
  name: string | undefined
  siteDomain: string | undefined
  status: number | undefined
}

export type SiteExcelReqVO = {
  name: string
  siteDomain: string
  status: number
}

export type SiteBaseConfigReqVO = {
  id: number
  base: SiteBaseConfigBaseReqVO
  comment: SiteBaseConfigCommentReqVO
  staticPage: SiteBaseConfigStaticPageReqVO
  watermark: SiteBaseConfigWatermarkReqVO
}

export type SiteBaseConfigBaseReqVO = {
  greyOpen: boolean
  openThirdStatistic: boolean
  resFtpIds: Array<Number>
  thirdStatisticCode: string
  titleRepeat: boolean
  allowPush: boolean
  pushPass: string
}
export type SiteBaseConfigCommentReqVO = {
  commentAudit: boolean
  commentInterval: number
  commentStatus: number
}
export type SiteBaseConfigStaticPageReqVO = {
  openSiteStaticPage: boolean
  listMaxPageSize: number
  openAuto: boolean
  staticPageFtpIds: Array<Number>
  staticPagePlatforms: Array<Number>
}
export type SiteBaseConfigWatermarkReqVO = {
  watermarkResourceId: number
  watermarkPosition: number
  watermarkSet: number
  watermarkTxt: string
  watermarkTxtColour: string
  watermarkTxtSize: number
}

export type SiteSimpleVO = {
  id: number
  parentId: number
  name: string
}

export type SiteDefTplQueryVO = {
  siteId: number
  platformId: number
}
export type SiteDefTplReqVO = {
  siteId: number
  platformId: number
  indexTpl: string | undefined
  defListTpl: string | undefined
  contentDefTpls: string[] | undefined
}
